package com.mmd.sharding.persistence.domain;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * @author xch
 * 2023/4/21 14:50
 */
@Entity
@Data
public class Address {

    @Id
    private Long id;

    private String city;

    @Override
    public String toString() {
        return "Address{" +
                "id=" + id +
                ", city='" + city + '\'' +
                '}';
    }
}
